/**
 * @author liuchun
 */
public class Bomb {
    int x,y;//炸弹坐标
    int life = 9;
    boolean isLive = true;

    public Bomb(int x, int y) {
        this.x = x;
        this.y = y;
    }
    //减少生命值,配合出现爆炸效果
    public void liveDown(){
        if (life > 0){
            life --;
        }else {
            isLive = false;
        }
    }
}
